/* ... existing code ... */
.menu-item img {
    max-width: 150px; /* 修改: 将图片的最大宽度调整为150px */
    height: auto; /* 保持图片的宽高比 */
}

.edit-menu-form {
    display: none;
    margin-bottom: 20px;
}

/* 添加媒体查询，针对不同屏幕尺寸调整样式 */
@media (max-width: 600px) {
    .menu-item {
        margin-bottom: 20px;
    }
    .menu-item img {
        max-width: 100%;
        height: auto;
    }
    footer nav a {
        padding: 15px; /* 增加内边距，使按钮在手机上更好点击 */
    }
}
/* ... existing code ... */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 0;
}
footer nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* 允许子元素换行 */
}
footer nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px; /* 增加内边距，使按钮在手机上更好点击 */
}
/* ... existing code ... */
.menu-container {
    margin-bottom: 60px; /* 添加: 增加底部外边距，确保内容不被底部导航栏遮挡 */
}
/* ... existing code ... */
/* toast 样式 */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}